<template>
  <div>
     <div class="config">
        <div class="back" onclick="window.history.go(-1)"><img src="../assets/images/back.png" alt=""></div>
        <p>账户管理</p>
    </div>
    <div class="header">
        
    </div>
      <div class="box"> 
         <img :src="icon_url" alt="" class="avatar">
         <router-link to="updatePassword">
         <div class="row">             
            <p>修改密码</p>
            <img src="../assets/images/gd.png" alt="" class="gengduo">        
        </div>
         </router-link>
        <router-link to="/commonProblem">
            <div class="row">             
                <p>常见问题</p>
                <img src="../assets/images/gd.png" alt="" class="gengduo">                        
            </div>
        </router-link>
          <router-link to="/aboutUs">
            <div class="row">             
                <p>关于我们</p>
                <img src="../assets/images/gd.png" alt="" class="gengduo">                        
            </div>
        </router-link>
  

          
  
     </div>
 


  </div>
</template>

<script>
export default {
    name: "accountManagement",
    data() {
        return {
            icon_url:""
        };
    },
    beforeCreate() {
        document.getElementsByTagName("body")[0].style.background = "#ececec";
    },
    methods:{
       

    },
    mounted(){
         this.icon_url=localStorage.getItem("icon_url")
    }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.header{
    height: 120px;
    background: #5aa0c8;
    text-align: center;
}

.box {
    width: 94%;
    margin-left: 3%;
    border-radius: 3px;
    background: #fff;
    margin-top: -40px;
    padding-bottom: 60px;
    padding-top: 60px;
    position: relative;
}
.row {
    height: 50px;
    background: #fff;
    position: relative;
    border-bottom: 1px solid #f2f2f2;
    margin: 8px;
}

.row .gengduo {
    position: absolute;
    height: 12px;
    top: 19px;
    right: 5px;
}
.row span {
    position: absolute;
    height: 12px;
    top: 13px;
    right: 17px;
}

.row p {
    position: absolute;
    left: 10px;
    top: 13px;
    font-size: 14px;
}
.box .avatar{
    position: absolute;
    width:100px;
    height: 100px;  
    top:-50px;
    left: 50%;
    margin-left: -50px;
    border-radius: 50px;
    box-shadow: 0px 1px 3px 1px #ddd;
}



</style>
